<template>
  <div class="table-demo">
    <a-card title="实体属性管理">
      <Search @search="search" />
      <Stable ref="tableRef" />
    </a-card>
  </div>
</template>

<script setup lang="ts">
import Stable from './components/Stable.vue'
import Search from './components/Search.vue'

const tableRef = ref<InstanceType<typeof Stable>>()

const search = (params: TABLE_PARAMS.PropertyRequestData) => {
  tableRef.value?.search(params)
}
</script>
<style lang="less" scoped></style>
